package com.mark.anto.autoconfigure;

import com.mark.anto.annotation.EnableHelloWorldByAnnotation;
import com.mark.anto.condition.SystemPropertyCondition;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 当满足条件时注入一个<code>helloWorld</>的Bean
 * @Author: Mark
 * @CreateDate: 2019/9/1 11:02
 * @Version: 3.00.001
 * @Copyright : 豆浆油条个人非正式工作室
 */
@Configuration // Spring 模式注解装配
@EnableHelloWorldByAnnotation //Spring @Enable 模块装配
@SystemPropertyCondition(name = "user.name", value = "Administrator") // 条件装配
public class HelloWorldAutoConfiguration {
}
